﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UniRlv.COL;

namespace UniRlv.Utility.Extend
{
    public class CodeSaveEventArg:EventArgs
    {
        public LineDevice dev;
        public string code24bit;
        public string Tip;
        public bool CodeQtyChanged;
        public en_code_prc prcState;

        public CodeSaveEventArg(LineDevice dev, string code, string tip, en_code_prc prc)
        {
            this.dev = dev;
            this.code24bit = code;
            this.Tip = tip;
            CodeQtyChanged = true;
            prcState = prc;
        }

        public CodeSaveEventArg(LineDevice dev, string code, string tip, bool b, en_code_prc prc)
        {
            this.dev = dev;
            this.code24bit = code;
            this.Tip = tip;
            CodeQtyChanged = b;
            prcState = prc;
        }
    }
}
